* {
  margin: 0;
  padding: 0; }

#userInfo {
  width: 400px;
  height: 100vh;
  background-position: 0% 0%;
  position: absolute;
  left: 55%;
  margin-left: -300px;
  overflow: hidden;
  max-height: 812px;
  background-image: url(../img/luckyDraw/ld_bg.jpg);
  background-size: cover; }
  #userInfo #tips {
    margin: 0;
    width: 100%;
    height: 20vh;
    position: absolute;
    top: 20%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
    #userInfo #tips .divHr {
      border-top: 1px solid white;
      border-bottom: 1px solid white;
      height: 5px; }
    #userInfo #tips .divTips {
      height: 0.5rem;
      font-size: 0.25rem;
      color: white;
      letter-spacing: 0.15rem;
      text-align: center;
      line-height: 0.5rem; }
    #userInfo #tips .divTips2 {
      height: 0.5rem;
      font-size: 0.15rem;
      color: white;
      text-align: center;
      margin-top: 0.375rem; }
  #userInfo #inputInfo {
    position: absolute;
    top: 45%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
    #userInfo #inputInfo div input {
      color: #a20500;
      background: #f0ce89;
      text-indent: 0.075rem;
      height: 0.375rem;
      margin-bottom: 0.125rem;
      border: 1px solid #f0ce89; }
      #userInfo #inputInfo div input::-webkit-input-placeholder {
        color: #a20500; }
  #userInfo #allBtn {
    position: absolute;
    left: 50%;
    top: 70%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%; }
    #userInfo #allBtn .btn {
      background-color: rgba(255, 0, 0, 0);
      border: 1px solid #ffff9f;
      color: #ffff9f; }
    #userInfo #allBtn > div:first-of-type {
      margin-left: 3%; }

@media (max-width: 768px) {
  #userInfo {
    width: 100%;
    left: 0%;
    margin-left: 0px;
    background-size: cover; }
  #userInfo #tips .divTips {
    height: 2rem;
    font-size: 0.9rem;
    color: white;
    letter-spacing: 0.6rem;
    text-align: center;
    line-height: 2rem; }
  #userInfo #tips .divTips2 {
    height: 1rem;
    font-size: 0.6rem;
    color: white;
    text-align: center;
    margin-top: 1.75rem; }
  #userInfo #inputInfo {
    position: absolute;
    top: 45%;
    left: 45%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
  #userInfo #inputInfo div input {
    text-indent: 0.3rem;
    height: 1.5rem;
    margin-bottom: 0.375rem; } }
